package com.sam.mooc;

import javax.swing.*;
import java.awt.*;
import java.awt.event.MouseAdapter;
import java.awt.event.MouseEvent;

/**
 * Created by samwang on 2017/12/3.
 */
public class WeightFrame {
    private JTextField textField1;
    private JPanel panel1;
    private JTextField textField2;
    private JButton button1;

    public static void main(String[] args) {
        JFrame frame = new JFrame("体重记");
        frame.setContentPane(new WeightFrame().panel1);
        frame.setSize(300,200);
        frame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        frame.pack();
        frame.setVisible(true);
    }

    private void createUIComponents() {
    }
}
